package classDemo.extenddemo;

/**
 * @author Ajie
 * @date 2022/6/21
 * @function  静态属性与静态方法是否能被重写
 * https://blog.csdn.net/qq_29966203/article/details/90605164
 */
public class Parent {//父类
    public String normalStr = "Normal member of parent.";
    public static String staticStr = "Static member of parent.";

    public void normalMethod(){
        System.out.println("Normal method of parent.");
    }

    public static void staticMethod(){
        System.out.println("Static method of parent.");
    }

}


